package com.itheima.mapper;

import com.itheima.bean.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CourseMapper {
    /**
     *
     * @return
     */
//    @Select("select * from t_course")
    List<Course> getCourseInfo();

    /**
     * 添加课程
     * @param course
     */
    void insert(Course course);
}
